package com.qf.blog.commons.utils;

import java.util.UUID;

/**
 * User: key
 * ClassName:UUIDUtils
 * Date: 2023/6/3
 * Time: 21:00
 * description:
 */
public class UUIDUtils {

    public static String getId(){
        return UUID.randomUUID().toString().replaceAll("-","");
    }

    public static void main(String[] args) {
        String id1 = UUIDUtils.getId();
        String id2 = UUIDUtils.getId();
        String id3 = UUIDUtils.getId();
        System.out.println(id1);
        System.out.println(id2);
        System.out.println(id3);
    }
}